package practice03;

/**
 * @author Administrator
 * @version V1.0
 * @ProjectName:IntelliJ IDEA
 * @PackageName: practice03
 * @ClassName: TestCircle
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @date 2019/12/1 15:04
 * @Copyright 大牛版板所有
 */
public class TestCircle {
    public static void main(String[] args) {
        Circle circle = new Circle();
        circle.radius = 10;
        double area = circle.getArea();
        double per = circle.getPerimeter();
        System.out.println("圆的面积为："+String.format("%.2f",area)+"，周长为："+String.format("%.2f",per));
    }
}
